Manipulating Palette Entries The GetEntryColor, GetEntryUsage, SetEntryColor, and SetEntryUsage functions allow your application to retrieve and modify the fields of a palette. The Entry2Index function returns an index for a palette entry.
GetEntryColor
GetEntryUsage
SetEntryColor
SetEntryUsage
Entry2Index